function openMenu(obj) {
    $(obj).siblings().css("display", "block");
    $(obj).parent().siblings().children("div>div:nth-child(2)").css("display", "none");
    // $(obj).parent().siblings().children("div div:nth-child(2)").hide();
}

function load(url) {
    $(".right").load(url);
}

function loginOut() {
    $.ajax({
        url:'/loginOut',
        data:'',
        type:'',
        dataType:"json",
        success:function (data) {
            window.open("/html/login.html", '_top');
        }
    })
}